﻿using HR.Models.PengModels;

namespace HR.IServices.PengIService
{
	public interface IRenLiZiYuanGuanLiServices
	{
		//查询薪酬  salary_standard
		Task<List<salary_standard>> FindXinChou();
		Task<int> Add(RenLiZiYuanDangAnGuanLi record);
		//用存储过程自动生成档案编号
		Task<string> ZiDongID();
		//分页查询人力资源
		Task<FenYe<RenLiZiYuanDangAnGuanLi>> FenYe(int size,int currentPage);
		//根据id 点谁查谁
		Task<List<object>> FindId(int id);
		Task<int> Update(RenLiZiYuanDangAnGuanLi renLiZiYuanDangAnGuanLi);
		//查询简历表  点谁查谁
		Task<List<object>> JianLiID(int id);
		//档案查询
		Task<List<RenLiZiYuanDangAnGuanLi>> DangAnFind(string? one,string? two,string? three,string? name,string? type,string? minCheng,string? time1,string? time2);
		//复核查询
		Task<FenYe<RenLiZiYuanDangAnGuanLi>> FuHeFenYe(int size,int currentPage);
		//修改人力资源档案
		Task<int> UpdaBianGen(RenLiZiYuanDangAnGuanLi renLiZiYuanDangAnGuanLi);
		//档案删除查询
		Task<List<RenLiZiYuanDangAnGuanLi>> ShanChuFind(string? one, string? two, string? three, string? name, string? type, string? minCheng, string? time1, string? time2);
		//档案删除修改状态
		Task<int> UpdStatus(RenLiZiYuanDangAnGuanLi renLiZiYuanDangAnGuanLi);
		//档案恢复查询
		Task<List<RenLiZiYuanDangAnGuanLi>> HuiFuFind(string? one, string? two, string? three, string? name, string? type, string? minCheng, string? time1, string? time2);
		//恢复修改状态
		Task<int> HuiFuStatus(RenLiZiYuanDangAnGuanLi renLiZiYuanDangAnGuanLi);
		//永久删除分页查询
		Task<FenYe<RenLiZiYuanDangAnGuanLi>> ShanChuFenYe(int size,int currentPage);
		//永久删除
		Task<int> Delete(int huf_id);

		//人力资源档案查询全部
		Task<List<RenLiZiYuanDangAnGuanLi>> SelQuanBu();
	}
}
